﻿using System;
using MMessaging.MessagingEx.Common;

namespace MMessaging.Address
{
	public class MDispatcherMessage : MAddressMessageBase, IDispatcherMessage
	{
		public MDispatcherMessage() : base(null, null, DateTime.UtcNow)
		{
		}

		private Action _method;

		Action IDispatcherMessage.Method
		{
			get { return _method; }
			set { _method = value; }
		}
	}
}